#include "peer.h"

peer* createPeer(char* ip, char* port)
{
  peer* p = malloc(sizeof(peer));
  strncpy(p->ip,ip,16);
  strncpy(p->port,port,8);
  return p;
}

void freePeer(peer* p)
{
  free(p);
}

